package com.example.piece.ui.demo

import android.view.View
import androidx.databinding.ViewDataBinding
import com.therouter.router.Route
import com.example.piece.R
import com.example.piece.constant.RoutePath
import com.example.piece.databinding.TestActivityStatusBarPcactivityBinding
import com.example.piece.ui.activity.Layer3Activity

/**
 * 图片状态栏+彩色导航栏
 */
@Route(path = RoutePath.TESTActivity.STATUS_BAR_UTILS_TEST_PC)
class StatusBarTestPCActivity : Layer3Activity<TestActivityStatusBarPcactivityBinding,ViewDataBinding>() {
    override val isTransparentStatusBar: Boolean = true
    override val isLockPortrait: Boolean = true
    override val statusBarAlpha: Int = 0
    override val isDarkMode: Boolean = true
    override val isFitsSystemWindows: Boolean = false
    override val leftIcon1Res: Int = R.drawable.ic_back
    override val centerLayoutRes: Int = R.layout.test_activity_status_bar_pcactivity
    override val title: String
        get() = "图片状态栏+彩色导航栏"


    override fun onClickLeftIcon1(view: View) {
        onBackPressed()

    }

}